<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta th:include="common/commons :: layui"/>
    <script th:src="@{/js/visitRecord.js}"></script>
    <style type="text/css">
        .layui-form-pane .layui-form-label {
            width: 150px;
        }
        .layui-form-pane .layui-input-block {
            margin-left: 150px;
        }
    </style>
</head>
<body>

<div class="layui-row">
    <fieldset class="layui-elem-field layui-field-title">
        <legend>
            <span>小区管理</span> <span>></span> <strong>访客来访记录</strong>
        </legend>
    </fieldset>
</div>
<div class="layui-form layui-form-pane">
    <div class="layui-form-item">
        <label class="layui-form-label">来访人姓名</label>
        <div class="layui-input-inline">
            <input class="layui-input" type="text" id="visitorName"/>
        </div>
        <label class="layui-form-label">被拜访人姓名</label>
        <div class="layui-input-inline">
            <input class="layui-input" type="text" id="visitedName"/>
        </div>
        <label class="layui-form-label">日期</label>
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name='dayTime' id="dayTime"/>
        </div>
        <div class="layui-input-inline">
            <input class="layui-btn layui-btn-normal  " type="button" id="search" value="查询" onclick="query()"/>
            <input class="layui-btn layui-btn-normal  " type="button" id="clear" value="清空" onclick="clean()"/>
        </div>
    </div>
</div>
<div class="layui-row">
    <table id="visitRecordTable" lay-filter="visitRecordFilter"></table>
</div>
</body>
</html>